package com.atguigu.dao;

import com.atguigu.pojo.Order;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface OrderDao {
    List<Order> findCountOrderByCondition(Order orderParam);

    void add(Order order);

    Map<String, Object> findById(Integer id);

    int getTodayOrderNumber(String date);
    int getTodayVisitsNumber(String date);
    int getThisWeekAndMonthOrderNumber(Map<String, Object> map);
    int getThisWeekAndMonthVisitsNumber(Map<String, Object> map);
    List<Map<String,Object>> findHotSetmeal();
}
